<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var name=prompt("请输入你的名字：");
			alert("欢迎您,"+name+"!");
		</script>
	</body>
</html>
